<template>
    <div>
        <template v-if="reviewlist&&reviewlist.length>0">    
        <commentItem 
            v-for="(item,index) in reviewlist" :key="index"
            :item="item" />
        </template>
        <div v-else class="pad40 font28 textC">暂无评价</div>
    </div>
</template>
<script>
import commentItem from '@/components/detail/commentItem'

export default {
    name:'commentList',
    components:{
        commentItem
    },
    props:{
        reviewlist:{
            type: Array,
            default:()=>[]
        }
    },
    methods: {
        handleScroll: function (evt,el) {
            console.log(evt,el)
        }
    }
}
</script>
